Hello,
If application has Siri Shortcuts which are configurable inside Shortcuts app and if make app intents for that Siri Shortcuts, it shows duplicate entries while searching for application and available shortcuts.
Any way to avoid this?
Thanks
Hiren
Post
Replies
Boosts
Views
Activity
Hello,
Created one demo for creating task. But it does not work properly.
When execute Shortcut from
2021-06-16 16:18:07.947665+0530 TestTask[28602:364855] [logging-persist] cannot open file at line 45068 of [d880193994]
2021-06-16 16:18:07.947700+0530 TestTask[28602:364855] [logging-persist] os_unix.c:45068: (0) open(/var/db/DetachedSignatures) - Undefined error: 0
Not sure, reason behind it
Xcode build fails with below reason, not sure what could be the reason.
Tried all ways
Set Xcode 13 as default setting as command line tools
Removed derived data and and clean build
Below is the error getting:
failed to build module 'Accelerate'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.5 (swiftlang-1300.0.17.216 clang-1300.0.18.1)', while this compiler is 'Apple Swift version 5.5 (swiftlang-1300.0.19.104 clang-1300.0.18.4)'). Please select a toolchain which matches the SDK.
Hello,
Trying to handle custom url links from widget in Mac. It opens containing app but not any method gets called to get URL and handle action.
Tried below way for handling custom url.
NSAppleEventManager
.shared()
.setEventHandler(
self,
andSelector: #selector(handleURL(event:reply:)),
forEventClass: AEEventClass(kInternetEventClass),
andEventID: AEEventID(kAEGetURL)
)
Above method in applicationDidFinishLaunching method, but that method not getting called.
Widget has code like,
struct TestMacWidgetEntryView : View {
var url = URL(fileURLWithPath: "testWid://test?abc=123")
var entry: Provider.Entry
var body: some View {
Link(destination: url) {
Text(entry.date, style: .time)
}
}
}
Anyone has idea how to get that url in containing app to perform action from widget links?
HealthKit data not available when device is locked. is there any way to reload data when device unlocked?
In application, done with background refresh of data, but due to data not accessible when device is locked, need some way to reload all timelines when device got unlocked so it has most recent data to show on widget.
Hello,
Facing strange issue that none of my apps installing on watch OS 7 beta 2.
It only installs TestFlight apps, not apps which ware downloaded from App Store.
Also apps which are installed of TestFlight, connectivity session does not work to send data between iPhone app to watch app and vice versa.
Tried to reset watch 3-4 times, but same problem.
Anyone else facing this issue?
My watch is series 3(watchOS beta 2), iPhone X(installed iOS 14 beta 2)
Thanks
Hiren
Hello,
Configurable widget does not work in Catalyst app. Configurable widget works fine in iPhone, but when tried to run on Mac for catalyst, it does not work, gives error.
Tested app in iPad and it works fine.
Does it require additional settings?
Thanks
Hiren
Don't find proper way for suggesting shortcut with multiple parameters, it shows long vertical list when suggest individual shortcut with different parameter value, instead of showing horizontal list of actions as shown in video.
There is log drink shortcut and it can have different drink types which it asks at run time
how to suggest using INVoiceShortcutCenter.shared.setShortcutSuggestions so it shows actions like streaks app shown in video? For me it shows vertical list, individual shortcut in shortcuts app
Sharing code here:
for drink in drinks {
let logDrink = LogDrinkIntent()
logDrink.drinkType = DrinkType(identifier: drink.drinkId!, display: drink.name!.localized)
let shortcut = INShortcut(intent: logDrink)
shortcuts.append(shortcut!)
}
	 INVoiceShortcutCenter.shared.setShortcutSuggestions(shortcuts)
}